package com.zhn.evsi.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.PropertySource;
import org.springframework.stereotype.Component;

import java.io.Serializable;

@Component
@Data
@PropertySource(value = {"classpath:application.yml"})
@ConfigurationProperties(prefix = "aliyun")
public class OssConfig implements Serializable {
    private String accessKeyID;
    private String accessKeySecret;
    private String endpoint;
    private String urlPrefix;
    private String bucketName;
}
